package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.PointsRuleArtificial;

/**
 * 人工积分规则Mapper接口
 *
 * @author ruoyi
 * @date 2024-04-22
 */
public interface PointsRuleArtificialMapper
{
    /**
     * 查询人工积分规则
     *
     * @param id 人工积分规则主键
     * @return 人工积分规则
     */
    public PointsRuleArtificial selectPointsRuleArtificialById(Long id);

    /**
     * 查询人工积分规则列表
     *
     * @param pointsRuleArtificial 人工积分规则
     * @return 人工积分规则集合
     */
    public List<PointsRuleArtificial> selectPointsRuleArtificialList(PointsRuleArtificial pointsRuleArtificial);

    /**
     * 新增人工积分规则
     *
     * @param pointsRuleArtificial 人工积分规则
     * @return 结果
     */
    public int insertPointsRuleArtificial(PointsRuleArtificial pointsRuleArtificial);

    /**
     * 修改人工积分规则
     *
     * @param pointsRuleArtificial 人工积分规则
     * @return 结果
     */
    public int updatePointsRuleArtificial(PointsRuleArtificial pointsRuleArtificial);

    /**
     * 删除人工积分规则
     *
     * @param id 人工积分规则主键
     * @return 结果
     */
    public int deletePointsRuleArtificialById(Long id);

}
